home *** CD-ROM | disk | FTP | other *** search
-
-
-
- COMM ST-UNIX User's Manual COMM
-
-
-
- COMMAND
- comm - find lines common to both files.
-
- FORMAT
- comm [ - [ 123 ] ] file1 file2
-
- DESCRIPTION
- _✓C_✓o_✓m_✓m reads _✓f_✓i_✓l_✓e_✓1 and _✓f_✓i_✓l_✓e_✓2, which should be sorted (e.g.
- using _✓s_✓o_✓r_✓t) and produces output prefixed by a digit indicat-
- ing whether the line was in _✓f_✓i_✓l_✓e_✓1, _✓f_✓i_✓l_✓e_✓2 or both (where 3
- indicates both) Specifying `-' as a filename will cause the
- standard input to be used instead.
-
- Flags 1, 2, or 3 suppress printing of the corresponding
- results.
- Examples:
- comm -12 prints lines common to both files.
- comm -23 prints lines in _✓f_✓i_✓l_✓e_✓1 but not in _✓f_✓i_✓l_✓e_✓2.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Printed 28/March/1988 30 March 1987 1
-
-
-
-